package com.qf.bbapi.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.bbapi.entity.TIntegral;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * (TIntegral)表数据库访问层
 *
 * @author makejava
 * @since 2022-07-02 19:24:40
 */
public interface TIntegralDao extends BaseMapper<TIntegral> {
    @Update("update t_integral set integral=#{integral} where uid=#{uid}")
    int updateByUid(@Param("integral") int integral,@Param("uid") int token);

}

